profit = float(input("请输入利润，单位为元:"))
bonus =0 #奖金
if profit<=100000:
    bonus=profit*0.1
elif(profit<=200000):
    bonus=100000*0.1+(profit-100000)*0.075
elif(profit<=400000):
    bonus=100000*0.1+(200000-100000)*0.075+(profit-200000)*0.05
elif(profit<=600000):
    bonus=100000*0.1+(200000-100000)*0.075+(400000-200000)*0.05+(profit-400000)*0.03
elif(profit<=1000000):
    bonus=100000*0.1+(200000-100000)*0.075+(400000-200000)*0.05+(600000-400000)*0.03+(profit-600000)*0.015
else:
    bonus=100000*0.1+(200000-100000)*0.075+(400000-200000)*0.05+(600000-400000)*0.03+(1000000-600000)*0.015+(profit-1000000)*0.01
print('应发放奖金%s元' % bonus)